import os


class catkin_target(object):
    def __init__(self, CTRInstance):
        """
        Args:
            CTRInstance:
        """
        self.CTRInstance = CTRInstance
        self.prjpath = self.CTRInstance.GetProjectPath()
        app_path = self.CTRInstance.GetIECLibPath()
        self.app_path = os.path.abspath(os.path.join(app_path, '../../..', ))
        self.buildpath = None
        self.SetBuildPath(self.CTRInstance._getBuildPath())
        self.upload_protocol = None
        self.options = []
        self.deps = []
        self.build_flags = []
